/*********************************************************************************
 * Copyright (C) 2011-2013 X2Engine Inc. All Rights Reserved.
 * 
 * X2Engine Inc.
 * P.O. Box 66752
 * Scotts Valley, California 95067 USA
 * 
 * Company website: http://www.x2engine.com 
 * Community and support website: http://www.x2community.com 
 * 
 * X2Engine Inc. grants you a perpetual, non-exclusive, non-transferable license 
 * to install and use this Software for your internal business purposes.  
 * You shall not modify, distribute, license or sublicense the Software.
 * Title, ownership, and all intellectual property rights in the Software belong 
 * exclusively to X2Engine.
 * 
 * THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EITHER 
 * EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF 
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT.
 ********************************************************************************/

$this->menu=array(
	array('label'=>'Dashboard','url'=>array('admin')),
	array('label'=>'Sidebar Settings','url'=>array('settings'))
);
?>
<h2 style='margin-bottom=0;'><center><?php echo $displayName; ?></center></h2>
<p><center>Below you see a listing of the settings for all of the widgets that are accessible to you. Please feel free to edit them.</center></p>
<h2 style="margin-bottom:0;">Update Widget: <b><?php echo $displayName;?></b>
<a class="x2-button btn btn-mini  btn-yellow" href="javascript:void(0);" onclick="$('#save-button').click();">Save</a></h2>
<?php echo $this->renderPartial('application.components.views._form', array('model'=>$model, 'modelName'=>'dashboard'));?>
